```typescript index.ts
import { PayPalPayment } from 'pay-pal-payment-typescript-sdk';

const payPalPayment = new PayPalPayment({
    // OAuth 2.0 authentication
    clientId: "CLIENT_ID",
    clientSecret: "CLIENT_SECRET"
})
```